Fix OP-TEE build on Ubuntu Jammy (older binutils)#9249
Conversation
Check if linker supports --no-warn-rwx-segments flag before using it. Older binutils versions in ubuntu:jammy don't recognize this flag.
📝 WalkthroughWalkthroughA runtime check is introduced to detect cross-compiler linker support for the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (4)📓 Common learnings📚 Learning: 2025-11-11T20:56:20.303ZApplied to files:
📚 Learning: 2026-01-03T20:46:29.189ZApplied to files:
📚 Learning: 2025-12-12T23:09:56.813ZApplied to files:
🔇 Additional comments (2)
✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ This PR has been reviewed and approved — all set for merge! |
|
OK, we will move to Noble, but this can't hurt. |
If there's anything I can do to help, I'd be happy to support you. |
Summary
--no-warn-rwx-segmentsflag is only available in binutils 2.39+Changes
Testing
Summary by CodeRabbit
Release Notes
✏️ Tip: You can customize this high-level summary in your review settings.